package entity;

public abstract class Ticket {
	ScheduleItem scheduleItem;
	Seat seat;
	protected int ticketPrice;
	
	public ScheduleItem getScheduleItem() {
		return scheduleItem;
	}
	public void setScheduleItem(ScheduleItem scheduleItem) {
		this.scheduleItem = scheduleItem;
	}
	public Seat getSeat() {
		return seat;
	}
	public void setSeat(Seat seat) {
		this.seat = seat;
	}
	public int getTicketPrice() {
		return ticketPrice;
	}
	public void setTicketPrice(int ticketPrice) {
		this.ticketPrice = ticketPrice;
	}
	
	public abstract void compute(Ticket ticket);
	public abstract void print(Ticket ticket);
	
	
	

}
